import { Module } from '@nestjs/common';
import { MongoTypeormService } from './mongo-typeorm.service';
import { MongoTypeormController } from './mongo-typeorm.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Photo } from './entities/mongo-typeorm.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([Photo]),
  ],
  controllers: [MongoTypeormController],
  providers: [MongoTypeormService],
})
export class MongoTypeormModule {}
